package chapter04;

/**
 * Created by V5470-I5 on 2016/3/15.
 */
class Cloth {
    String color;
    char size;
}
public class Field{
    public static void main(String[] args){
        Cloth sun =new Cloth();
        Cloth spring =new Cloth();
        sun.color="red";
        sun.size='S';
        spring.color="green";
        spring.size='M';
        System.out.printf("sun(%s,%c)%n",sun.color,sun.size);
        System.out.printf("spring(%s,%c)%n",spring.color,spring.size);
    }}